package com.zhida.smartcontrol.pagectrl.projectdetail.search;

import com.zhida.smartcontrol.mvp.BasePresenter;
import com.zhida.smartcontrol.mvp.BaseView;
import com.zhida.smartcontrol.pagectrl.projectdetail.GroupBean;
import com.zhida.smartcontrol.pagehome.ProjectResultBean;

import java.util.List;

public class ProjectSearchContract {
    interface View extends BaseView {
        void showGroup(List<GroupBean> groupList);
        void showData(List<ProjectResultBean> warningBean);
    }

    interface Presenter extends BasePresenter<View> {
        void requestGroup(String projectId);
        void requestWarning(String switchType, String projectBaseId, String groupsId,String keywords, boolean showLoading);
    }
}
